package com.shsxt.vo;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.codehaus.jackson.map.module.SimpleAbstractTypeResolver;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shsxt.model.BaseQuery;

/**
 * @author lxc2
 *
 */
public class WithdrawBig extends BaseQuery {
	private String aunt;
	private String number;
	private String count;
	@JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private String time;
	private String type;
	private String id;
	private String state;
	private String auntName;
	
	public String getAuntName() {
		return auntName;
	}
	public void setAuntName(String auntName) {
		this.auntName = auntName;
	}
	public WithdrawBig(String aunt, String number, String count, String time, String type, String id, String state,
			String auntName) {
		super();
		this.aunt = aunt;
		this.number = number;
		this.count = count;
		this.time = time;
		this.type = type;
		this.id = id;
		this.state = state;
		this.auntName = auntName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public WithdrawBig(String aunt, String number, String count, String time, String type, String id, String state) {
		super();
		this.aunt = aunt;
		this.number = number;
		this.count = count;
		this.time = time;
		this.type = type;
		this.id = id;
		this.state = state;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public WithdrawBig(String aunt, String number, String count, String time, String type, String id) {
		super();
		this.aunt = aunt;
		this.number = number;
		this.count = count;
		this.time = time;
		this.type = type;
		this.id = id;
	}
	@Override
	public String toString() {
		return "WithdrawQuery [aunt=" + aunt + ", number=" + number + ", count=" + count + ", time=" + time + ", type="
				+ type + ", id=" + id + ", state=" + state + "]";
	}
	public WithdrawBig() {
		super();
		// TODO Auto-generated constructor stub
	}
	public WithdrawBig(String aunt, String number, String count, String time, String type) {
		super();
		this.aunt = aunt;
		this.number = number;
		this.count = count;
		this.time = time;
		this.type = type;
	}
	public String getAunt() {
		return aunt;
	}
	public void setAunt(String aunt) {
		this.aunt = aunt;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
	public String getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = new SimpleDateFormat("yyy-MM-dd HH:mm:ss").format(time);
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	
}
